import request from '@/axios';


export const projectList = (current, size, params) => {
    return request({
      url: '/blade-project/base/page',
      method: 'get',
      params: {
        ...params,
        current,
        size,
      },
    });
  };
  
  
  
  export const update = row => {
      return request({
        url: '/blade-project/base/submit',
        method: 'post',
        data: row,
      });
    };

    // 项目认领情况
export const projectClaim = (current, size, params) => {
  return request({
    url: '/blade-project/assist/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
  });
}

// 项目进展
export const projectProgress = (current, size, params) => {
  return request({
    url: '/blade-project/progress/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
  });
}

// 项目评价
export const projectEvaluate = (current, size, params) => {
  return request({
    url: '/blade-project/rate/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
  });
}
    